var _omplusConstants = {
    width:"980px",
    opened_management:null,
    opened_button:null
}

var _omplusFunctions = {

    /**
     *
     * @param management string that is
     * the omplusName of a management tab that needs to be shown
     */
    changeManagementPage:function (management) {
        if (management == _omplusConstants.opened_management) return;
        if (_omplusConstants.opened_management) {
            var mng = Omplus.globals.getObject(_omplusConstants.opened_management);
            var helper = mng;
            mng.onCloseFinish = function () {
                Omplus.globals.getObject(management).show();
            }
            mng.hide();
        } else {
            Omplus.globals.getObject(management).show();
        }
        _omplusConstants.opened_management = management;
    }
}


